package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.Brand;
import com.atguigu.spzx.model.entity.product.CategoryBrand;
import com.atguigu.spzx.model.vo.product.CategoryBrandVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author LT
 * @create 2024-03-17-17:05
 */
public interface CategoryBrandService {


    PageInfo<CategoryBrandVo> list(Integer pageNum, Integer pageSize, CategoryBrand categoryBrand);

    void save(CategoryBrand categoryBrand);

    void delete(List<Long> asList);

    CategoryBrand getById(Long id);

    void update(CategoryBrand categoryBrand);

   List<Brand>  GetBrandByCategoryId(Long categoryId);

}
